package com.etc.service.impl;

import com.etc.entity.SysUser;
import com.etc.mapper.SysUserMapper;
import com.etc.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author kalista
 * @Description
 * @Date 2021/1/7  9:56
 **/
@Service
public class SysUserServiceImpl  implements ISysUserService {

    @Autowired
    private SysUserMapper sysUserMapper;

    @Override
    public List<SysUser> findByUser() {
        return  sysUserMapper.selectList(null);
    }
}
